package com.darren.euc.repository;

import com.darren.euc.entity.ClientParamsEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Machenike-Pc on 2018/4/5.
 */
public interface ClientParamsEntityRepository extends JpaRepository<ClientParamsEntity,Integer> {
    List<ClientParamsEntity> findByClientId(Integer clientId);

    ClientParamsEntity findByClientIdAndKey(Integer clientId, String kind);
}
